import {
	request
} from '@/utils/request.js'

export function transportList(data) { //车辆库管理
	return request({
		url: '/basic/transport_index',
		method: 'post',
		data: data
	})
}
export function driver_select(data) { //车辆库管理
	return request({
		url: '/basic/driver_select',
		method: 'post',
		data: data
	})
}
export function delivery_vehicle(data) { //载具类型
	return request({
		url: '/index/delivery_vehicle',
		method: 'post',
		data: data
	})
}
export function transport_save(data) { //添加/更新车辆
	return request({
		url: '/basic/transport_save',
		method: 'post',
		data: data
	})
}
export function transport_del(data) { //添加/更新车辆
	return request({
		url: '/basic/transport_del',
		method: 'post',
		data: data
	})
}
export function current_car_status(data) { //更新车辆状态
	return request({
		url: '/basic/current_car_status',
		method: 'post',
		data: data
	})
}
export function current_citys(data) { //更新车辆地址
	return request({
		url: '/basic/current_city_id',
		method: 'post',
		data: data
	})
}
export function driver_work(data) { //司机工作台
	return request({
		url: '/basic/driver_work',
		method: 'post',
		data: data
	})
}
export function cancel_bind(data) { //司机解绑
	return request({
		url: '/basic/cancel_bind',
		method: 'post',
		data: data
	})
}
export function que_bind(data) { //司机绑定
	return request({
		url: '/basic/bind',
		method: 'post',
		data: data
	})
}

export function apply_bind(data) { // 申请绑定记录
	return request({
		url: '/basic/apply_bind',
		method: 'post',
		data: data
	})
}

export function invite_bind(data) { //司机被邀请绑定
	return request({
		url: '/basic/invite_bind',
		method: 'post',
		data: data
	})
}
export function invite_del(data) { //司机被邀请绑定
	return request({
		url: '/basic/invite_del',
		method: 'post',
		data: data
	})
}
export function invite_status(data) { //司机被邀请点击同意或者拒绝
	return request({
		url: '/basic/invite_status',
		method: 'post',
		data: data
	})
}
export function appeal_bind(data) { //平台申诉
	return request({
		url: '/basic/appeal_bind',
		method: 'post',
		data: data
	})
}

export function car_brand_search(data) { //筛选车型
	return request({
		url: '/index/car_brand_search',
		method: 'post',
		data: data
	})
}






